package com.tyc.shiro.oauth2;

import cn.hutool.crypto.digest.MD5;

import java.util.UUID;

/**
 * 类描述
 *
 * @author tyc
 * @version 1.0
 * @date 2023-12-21 15:08:31
 */
public class TokenGenerator {
    public static String generateValue() {
        String uuid = UUID.randomUUID().toString();
        return MD5.create().digestHex(uuid);
    }
}
